.article-category {
  padding: 20px;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 20px;
}

.category-tree {
  flex: 1;
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-tree h3 {
  margin: 0 0 12px 0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.category-actions {
  flex-shrink: 0;
}

.category-table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-actions .ant-btn {
  min-width: 120px;
}

.ant-tree {
  background: transparent;
}

.ant-tree-node-content-wrapper {
  border-radius: 4px;
}

.ant-tree-node-content-wrapper:hover {
  background-color: #f5f5f5;
}

.ant-tree-switcher {
  color: #666;
}

.ant-tree-icon__customize {
  margin-right: 4px;
}

.ant-tree-title {
  font-size: 14px;
  color: #333;
}

.ant-tree-treenode-selected .ant-tree-node-content-wrapper {
  background-color: #e6f7ff;
}

.ant-tree-treenode-selected .ant-tree-title {
  color: #1890ff;
  font-weight: 500;
}

.category-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.category-description {
  color: #666;
  font-size: 12px;
  margin-top: 4px;
}

.ant-table-thead > tr > th {
  background-color: #fafafa;
  font-weight: 600;
}

.ant-table-tbody > tr:hover > td {
  background-color: #f5f5f5;
}

.ant-modal-body {
  padding: 24px;
}

.ant-modal-footer {
  border-top: 1px solid #f0f0f0;
  padding: 16px 24px;
}

@media (max-width: 768px) {
  .article-category {
    padding: 12px;
  }
  
  .category-header {
    flex-direction: column;
  }
  
  .category-tree {
    margin-bottom: 16px;
  }
  
  .category-actions {
    width: 100%;
  }
  
  .category-actions .ant-btn {
    width: 100%;
  }
}